
//
//  RemoteGateway.h
//  Vihome
//
//  Created by Air on 15-3-14.
//  Copyright © 2017年 orvibo. All rights reserved.
//

#import "Gateway+Send.h"

@interface RemoteGateway : Gateway

+ (instancetype)shareInstance;
// 数据接收
@property (nonatomic, strong) NSMutableArray *sensorTableQueue;
@property (nonatomic, strong) NSMutableArray *wifiTableQueue;

@property(nonatomic,strong,readonly)NSString *session;

-(void)refreshServerIP:(VoidBlock)completion;

/*
 根据用户名来刷新IP更准确 refreshServerIP:方法中是根据上一次登录的用户名来查询的IP
 **/
-(void)refreshServerIpWithUserName:(NSString *)userName completion:(VoidBlock)completion;

@end
